const rootPath = {
  path: "/",
  redirect: "/login",
};
const login = [
  {
    path: "/login",
    name: "login",
    component: () => import("/@/views/login/index.vue"),
    meta: {
      title: "登录",
      hidden: false,
    },
  },
];
const onlineMap = [
  {
    path: "/online-map",
    name: "onlineMap",
    component: () => import("/@/views/onlineMap/index.vue"),
    meta: {
      title: "在线地图",
      hidden: false,
    },
  },
];
const offlineMap = [
  {
    path: "/offline-map",
    name: "offlineMap",
    component: () => import("/@/views/offlineMap/index.vue"),
    meta: {
      title: "离线地图",
      hidden: false,
    },
  },
];

export const basicRoutes = [rootPath, ...login, ...onlineMap, ...offlineMap];
